﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace patents_robot_demo.BasicWork
{
    class EnvironmentInformation
    {
        #region 获得系统时间
        /// <summary>
        /// 获得系统时间
        /// </summary>
        /// <returns></returns>
        static public string GetSystemTime()
        {
            string logtime = null;
            DateTime dt = DateTime.Now;
            logtime += dt.ToString("yyyyMMdd hh:mm:ss");
            return logtime;
        }
        #endregion
    }
}
